package com.dragon.mmochat.model;

public class MmochatRoleRankInfo implements Comparable<MmochatRoleRankInfo> {
	int roleId;
	String name;
	int value;
	int bmpId;

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public int getBmpId() {
		return bmpId;
	}

	public void setBmpId(int bmpId) {
		this.bmpId = bmpId;
	}

	@Override
	public int compareTo(MmochatRoleRankInfo arg0) {
		return arg0.getValue() - value;
	}

}
